package com.tutou.ikgroup.mapper;

import com.tutou.ikgroup.pojo.vo.ChatroomOfflineInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface ChatInitMapper {

    void updateOfflineTime(String userId);

    List<HashMap<String, Long>> getOfflineInfoByUserId(String userId);

    List<HashMap<String, Long>> getOfflineInfoChatroom(ChatroomOfflineInfo chatroomOfflineInfo);
}
